import React, { FunctionComponent } from 'react';
import styles from './index.less';
import Version from '@/assets/version.json';

const { REACT_ENV } = process.env;

const Shop: FunctionComponent<any> = () => {
    return (
        <div className={styles.shop}>
            <p>当前环境: {REACT_ENV}</p>
            <p>当前版本: {Reflect.get(Version, REACT_ENV + 'Version')}</p>
        </div>
    )
}

export default Shop